package com.example.test;

import com.spring4all.swagger.EnableSwagger2Doc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Created by lsl on 2021/2/24.
 */
@SpringBootApplication
@EnableSwagger2Doc
@MapperScan(
        basePackages = {"com.example.*.mapper"}
)
public class JpaTestApplication {

    public static void main(String[] args) {
        SpringApplication.run(JpaTestApplication.class);
    }
}
